<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>注册</title>
  <link rel="stylesheet" href="./index.css">
</head>

<body>
  <div class="bg"></div>
  <div class="text">
    <h3>用前端</h3>
    <p>让用户有更好的体验</p>
  </div>
  <div class="logon">
    <div class="logon_title">
      <h3>欢迎注册</h3>
      <p>已有账号？请<a href="../login/index.html">登录</a></p>
    </div>
    <div class="logon_content clearfix">
      <form id="logon-form">
        <div>
          <label for="username">用户名:</label>
          <input type="text" id="username">
          <div id="hint">设置后不可更改，中英文均可，最长14个英文或7个汉字</div>
          <div class="error" id="error"></div>
        </div>
        <div>
          <label for="account">账号:</label>
          <input type="text" id="account">
        </div>
        <div>
          <label for="password">密码:</label>
          <input type="password" id="password">
        </div>
        <div>
          <label for="rePassword">确认密码:</label>
          <input type="password" id="rePassword">
        </div>
        <input type="submit" value="注册" class="logon_btn" id="logon-btn">
      </form>
    </div>
  </div>
</body>
<script src="./index.js"></script>
<script src="../../tools/ajax.js"></script>
</html>